Distributed data storage and access systems

ABSTRACT

A distributed system for content storage and access includes a storage platform having at least a first storage component, and an access platform having one or multiple access components. Each access component is associated with at least one access service. The access service may be an administrative service for receiving a service request initiated by a first user, the service request being associated with a first item of content, and for identifying a characteristic of the service request, a content management service for determining, based at least in part on the characteristic of the service request, a specification of a data transfer operation to be executed in association with the first storage component, and a directory service for maintaining information associated with the first item of content.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is related to U.S. patent application Ser. No. ______(Attorney Docket No. 30030-004001), titled “Data Storage in DistributedSystems,” filed concurrently with the present application, U.S. patentapplication Ser. No. ______ (Attorney Docket No. 30030-005001), titled“Data Access in Distributed Systems,” filed concurrently with thepresent application, and U.S. patent application Ser. No. ______(Attorney Docket No. 30030-009001), titled “Network Storage,” filedconcurrently with the present application. The contents of the aboveapplications are incorporated herein by reference.

BACKGROUND

This specification relates to a distributed system for data storage andaccess.

Distributed network-based data storage, for example accessible over theInternet, has various applications. One application is video storage andaccess.

During the past decade, online video streaming has gained increasingpopularity among Internet users as high speed Internet service is nowreadily available for households. For example, while traditional videodelivery systems (e.g., cable television systems) may no longer satisfycustomers' growing demand for convenient access and instant delivery,movie consumers may soon turn to online video stores that may providesuch service. However, in practice, it is nontrivial to build anInternet-based storage system, equipped with libraries comparable insize to traditional video rental stores, for providing reliable moviedownload service to consumers at a reasonable cost. The followingexample illustrates some of the difficulty behind the idea.

Consider a sample system for a movie download service with 20K movietitles each 2 hrs in length encoded at 2.5 Mbps that is configured toserve 15K simultaneous sessions. In the past, this would have beenconsidered an extensive library for a well-equipped video rental store.(In comparison, NetFlix currently lists a growing number of about70K+titles.) Since each movie title occupies about 2.25 GB storage(i.e., 2 hr*2.5 Mb/s*60 sec*60 min/8), the amount of raw storage neededfor 20K titles is 45TB. In addition, if mirroring is used forresilience, the minimum storage required for this entire library is90TB, which can be achieved by using approximately 96 1TB disksorganized as e.g., 4 servers each having 24 disk drives.

In the above sample system, the amount of access bandwidth needed forallowing 15K simultaneous sessions is 37.5 Gbps, which would thenrequire ˜400 Mbps from each of the 96 disks assuming an equal load overthese disks. However, this access rate would exceed common practice forgeneral purpose storage systems. Under typical workloads, a conventionalstorage system may be able to provide an average bandwidth of 50 Mbpsper disk. Even tuned media storage servers that have been configured tosupply extraordinary bandwidth of up to about 150˜200 Mbps may no longerbe sufficient for the sample system. Moreover, the level of difficultyin achieving satisfactory access bandwidth rises progressively with thesize of the sample system.

Some approaches to determining a system configuration for such anapplication may approach the problem at issue essentially as dynamicdistributed real-time resource allocation, which is particularly hard tosolve for large systems since the problem usually grows withcombinatorial complexity as the system expands in size. Briefly, adynamic distributed real-time resource allocation and scheduling problemin nature can be characterized as an NP complete problem, which meansthat there are no deterministic solutions computable within atractable/practical period of time, in other words, the solutions havecombinatorial complexity in space and/or time. Traditional approaches tosolving NP complete problems often try to restrict the problem in somemanner so that the restricted problem is amenable to a deterministicsolution. However, such restricted solutions may fail for a number ofreasons. For instance, the solution to the restricted problem may notactually reflect the solution to the original problem. Furthermore, whenthe deterministic solution hits boundary conditions in the problemspace, the problem turns combinatorial again, sometimes causing thedeterministic solution to produce catastrophic results.

SUMMARY

In general, in one aspect, the invention features a distributed systemfor content storage and access that includes a storage platform havingat least a first storage component, and an access platform having one ormultiple access components, each access component associated with atleast one of a plurality of access services including an administrativeservice for receiving a service request initiated by a first user, theservice request being associated with a first item of content, and foridentifying a characteristic of the service request, a contentmanagement service for determining, based at least in part on thecharacteristic of the service request, a specification of a datatransfer operation to be executed in association with the first storagecomponent, and a directory service for maintaining informationassociated with the first item of content.

Aspects of the invention may include one of more of the followingfeatures.

The specification of the data transfer operation may include anidentifier of a data transfer operation type and a persistentfully-resolvable identifier for an element of the first storagecomponent.

The service request may include an upload request.

The content management service may include an upload service forallocating resources of the first storage component to determine apartial resource allocation arrangement in response to the uploadrequest, and further to commit a complete resource allocationarrangement according to the partial resource allocation arrangement.The specification of the data transfer operation may include adescription of the complete resource allocation arrangement.

The upload request may include a first set of attributes thatcharacterizes one or more operational objectives of a first item ofcontent, and the upload service determines the complete resourceallocation arrangement based at least in part on one or more of thefirst set of attributes.

The upload request may further include the first item of content, andthe data transfer operation may include storing elements of the firstitem of content in respective elements of the allocated resources of thefirst storage component according to the complete resource allocationarrangement.

The directory service may maintain a description of a result of storingelements of the first item of content in respective elements of theallocation resources of the first storage component.

The description of the result of storing elements of the first item ofcontent may enable locating the first item of content in the allocatedresources of the first storage component with specificity for furtheraccess operations.

The service request may include a download request.

The content management service may include a download service foridentifying, by interacting with the directory service, an existingresource allocation arrangement associated with the first item ofcontent in response to the download request. The data transfer operationmay include a download operation.

The directory service may maintain a description of the existingresource allocation arrangement, including associations of elements ofthe first item of content with respective elements of the first storagecomponent allocated to the first item.

The download service may perform a set of inquires to determine whethera condition for initiating the download operation is satisfied.

The set of inquires may include an assessment of one or more of thefollowing: an overall workload condition of the first storage component,a deviation in load across the respective elements of the first storagecomponent associated with the element of the first item, availability ofresources to be involved with the data transfer operation, and a presentlevel of resource utilization by various operations in the distributessystem associated with first item of content.

Upon satisfaction of the condition for initiating the data transferoperation, the download service may determine the specification of thedownload operation, including a selected set of elements among theelements of the first storage component associated with the first itemto be accessed for the download operation.

The first storage component may include one or multiple storage devicesselected from at least one of the following types: disk drives,solid-state memories, and non-volatile memories.

The service requests may include a plurality of attributes comprisingone or more of the following: name, data length, data type, and a set ofattributes characterizing one or more operational objectives of aplurality of items of the content.

The one or more operational objectives may include one or more of thefollowing: popularity, integrity, resilience, accessibility, powerconsumption, geographical affinity and exclusion, and topologicalaffinity and exclusion.

The plurality of access services may further comprises a systemmanagement service for coordinating operations performed by one ormultiple of the plurality of access services in the distributed system.

The distributed system may further include a plurality of access serviceplatforms, each having one or multiple access components. At least oneof the plurality of access services provided by the access componentsmay be distributed in multiple instances across one or multiple accessservice platforms.

The directory service may provide an interface to a persistent databasethat is used to store information associated with content being handledby the distributed system.

The administrative service may provide a secure means to receive aparticular type of service request based on a verification of anidentity of the first user.

The data transfer operation may include one or more of the followingtypes: upload, download, delete, and move.

Other general aspects include other combinations of the aspects andfeatures described above and other aspects and features expressed asmethods, apparatus, systems, computer program products, and in otherways.

Other features and advantages of the invention are apparent from thefollowing description, and from the claims.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram of an exemplary distributed system for datastorage and access.

FIG. 2 is a representation of the flow of events during an “UPLOAD”operation when an operations client uploads content to storage servers.

FIG. 3 is a representation of the flow of events during a “DOWNLOAD”operation when an access client downloads content from storage servers.

FIG. 4A is a diagram of the system handling an exemplary upload request.

FIG. 4B is a flow chart of a content provisioning process.

FIG. 5 shows exemplary schemas associated with multiple attributes.

DETAILED DESCRIPTIONS 1 System Overview

Referring to FIG. 1, a distributed system 100 consists of three basictypes of computing platforms for content storage and delivery: storageserver platforms 130, access server platforms 120, and client platforms110. The term “platform” is used to refer to a collection of components,which may, for example, be hosted on a single computer, or distributedover multiple computers.

The storage server platforms 130 may host multiple storage servers 132,each of which in turn coordinate access to a set of storage resources,providing the capability to read and write data. For example, eachserver may be hosted on one computer, or its function may itself bedistributed on multiple hardware elements. Each storage server mayinclude one or multiple storage devices of various types. Examples ofstorage devices include disk drives, solid-state memories (such as RAM),and non-volatile memories (such as flash).

The access server platforms 120 provide access services thatcollectively provide one or more methods of accessing data/content withrespect to storage servers of the system. Some access services handlethe data according to a prescribed access protocol/regime/interface(e.g., HTTP, RTSP, NFS, etc). Other access services manage the resourcesof the system and regulate access to content accordingly. Services thatmanage resources of the system include, for example, a contentprovisioning service 124, which allocates resources of the system tostore and deliver content, and an admission service 126, which admitssessions when called upon by various session requests in the system.

In general, the access server platforms 120 are physically bounded onone side by the distribution network 160, which provides aninterconnection between the storage server platforms 130 and the accessserver platforms 120, and on the other side by access networks 170,which provide interconnections between the client platforms 110 and theaccess server platforms 120. Note that different access servicesprovided by one or multiple access server platforms may also communicateover the distribution network 160 or by some other network in thesystem. The access networks 170 include an operations network 140 overwhich one or more operations clients 112 (e.g., administrators of onlinevideo stores) communicate with the access server platforms 120, and adelivery network 150 over which one or more access clients 114 (e.g.,customers of online video stores) communicate with the access serverplatforms 120.

The access server platforms 120 host one or more externally accessibleadministrative servers 121, which provides an interface linking theoperations network 140 to services of the access server platforms 120and the storage server platform 130, for example, to provide a securemeans to ingest, retrieve and verify content stored within the system.Through an administrative server 121, operations clients 112 are givenadministrative access to the system, for example: 1) to upload contentto the system; 2) to download content from the system; 3) to deleteexisting content from the system; and etc. In some examples in which theadministrative server 121 provides a software interface to operationsclients using the HTTP protocol, these administrative accesses maycorrespond to the HTTP methods of “PUT,” “GET,” and “DELETE,”respectively or to some other combination of HTTP methods, “POST” and“DELETE” for example. Preferably, access to the administrative server121 is privileged to operations clients 112.

The access server platforms 120 also host one or more externallyaccessible download servers 122. Through a download server 122, accessclients 114 may request to stream or download content from the systemfor example, according to a defined set of rules (a regime or protocol)for streaming and downloading content.

As illustrated in FIG. 1, no direct link between the storage and theclient is required because storage and access functions are decoupled inthe system. When a client performs an operation, e.g., uploading ordownloading content, the administrative server 121 or download server122 communicates on behalf of its client to the storage servers, mainlyto put or get data to or from storage resources, and to other elementsin the system, e.g., to locate resources and control admissions. Thisseparation of storage and access brings flexibility to the configurationand evolution of the system, and significantly reduce the system'sreliance on synchronization, which tends to overwhelm a distributedsystem as it scales.

Upon receiving upload request from the operation clients 112, theadministrative server 121 receives inputs that contain an external name(e.g., a URI, namely, a Uniform Resource Identifier) of the content tobe uploaded, and the content itself (e.g., binary data encoding a videostream). Upon receiving download request from the access clients 114 oroperations clients 112, the download server 122 or the administrativeserver 121, respectively, receives the external name (e.g., also a URI)of the content to be downloaded, and if possible provides the requestedcontent.

In some examples, the administrative server 121 may acquire from theoperations clients (e.g., receive with the request) a set of attributesalong with an upload or download request that are used by theadministrate server 121 in servicing the request. Attributes can includee.g., provisioning attributes, access attributes, and admissionattributes. An illustrative example of an attribute provided with anupload is the maximum concurrent streaming sessions allowed for aparticular piece (i.e., a title or object) of content. For example, ifthe content is restricted to a maximum of 5 concurrent sessions, thecontent provisioning service may determine a good arrangement of thedata for that piece on the storage servers, and later the admissionservice may refuse a download request if it would exceed the limit of 5sessions.

An object directory service 128 provides an interface to a persistentdatabase (e.g., an object directory 129) that is used to storeinformation associated with objects being handled by the system. Oneexample of information that may be stored is the assignment of externalnames to internal object identifiers (OIDs). A second example isinformation describing where content is located on the storageservers/storage resources of the system. Elaborating on this secondexample, the object directory 129 may contain a map table associatedwith a particular movie title describing how the data for the title isstored on the storage servers, including the number of copies of thetitle being kept and the disk drives and the specific blocks where eachcopy is located. A third example is information representingprovisioning attributes (e.g., peak cumulative access bandwidth for thecontent and resilience factors), admissions attributes (e.g., attributesthat govern whether sessions involving the content are allowed to becreated or not), and access attributes (e.g., attributes that govern atwhat rate data is delivered for sessions involving the content).

It should be understood that the data stored in the object directory isnot limited to these examples, but could be any type and/or amount ofdata including the data for the externally referenced object in itsentirety.

In the following sections, the use of content provisioning and admissionservices is described in greater detail in the context of two principaloperations in the distributed system 100—“UPLOAD” and “DOWNLOAD”operations.

2 Example of “UPLOAD” Operation

Referring to FIG. 2, in an example of an “UPLOAD” operation 200, anoperations client 112 initiates a request 210 through the administrativeserver 121 for uploading a movie (e.g., “Shrek I”) to the system. Datareceived by the administrative server along with request 210 includesthe external name for the content of “Shrek I” and the movie contentitself. Note arrows in the figure represent logically uni-directionalcommunications from one interface to another (although the underlyingprotocol may in fact include e.g., bidirectional handshakes etc), anddouble arrows indicate there is actual data content being deliveredalong that communication. In addition to the external name and the moviecontent, the client may provide attributes, including traditionalattributes (such as content size and content type) and a collection ofnon-traditional attributes (such as maximum concurrent access sessions,popularity, resilience, integrity, life cycle, and topological andgeographical attributes) that affects the handling of each content.

Upon receiving the external name, the administrative server sends thename in a command 212 requesting the object directory service 128 tocreate an object for “Shrek I” and to generate an OID mapping for theexternal name. Once the object is successfully created, the objectdirectory service 128 delivers a message 214 to inform theadministrative server 121. Subsequently, the administrative server callsthe content provisioning service 124 via a request 216 to provision thecontent. Also along with request 216, the administrative server passesprovisioning attributes of the content, which are used during contentprovisioning to decide what resources of the system, if available, toallocate to the content.

During system configuration, a set of potential resource arrangementscan be pre-determined for content with certain types of provisioningattributes, where each arrangement represents, for example, a way ofstriping copies of content across one or several storage resources ofthe system. This enables the content provisioning service to make anefficient provisioning decision. For example, the content provisioningservice uses the attributes to find and evaluate a best mapping, forexample by approximating server occupancy at the given time and findingpossible sets of servers that can be used to meet the contentrequirements (e.g., performance requirements) of the content.

Here, a mapping generally refers to information describing a potentialarrangement of the data for an object on storage resources of thesystem, including e.g., the set of disk drives to be used and theassociated disk region on each drive. If the best mapping ispermissible, meaning the content provisioning service can, in thisexample, allocate sufficient blocks in the selected disks to the contentwithout threatening overall system performance, the content provisioningservice sends a message 218 to the administrative server carrying themapping result. Based on the mapping result, the administrative serverthen writes the content to the allocated blocks on the storage servers132 via a set of messages 220. In some situations when multiple copiesof the content are desired on the system, the content provisioningservice may determine a best mapping for each copy individually.

In some cases, the best mapping may fail due to conflicts in resourceallocation. For example, among other pieces of content beingprovisioned, one may have occupied certain blocks on a disk drive whichalso happens to be included in the mapping result of “Shrek I”. In thosesituations, a new mapping for “Shrek I” is selected to repeat theevaluation process until a permissible mapping has been found.Subsequently, the administrative server writes the content to the blockson the disk drives allocated by the mapping or set of mappings.

After content transfer is complete, the storage servers send a “done”signal 222 to the administrative server, which then instructs the objectdirectory service to document the committed mapping (via message 224),so that the object directory can identify the location of the contentfor subsequent access by clients. Upon receiving a “done” message 226from the object directory service reporting completion of updates, theadministrative server notifies the operations client (via an “uploadsuccess” message 228) that the “UPLOAD” operations has been successfullycompleted.

3 Example of “DOWNLOAD” Operation

Referring to FIG. 3, in an example of a “DOWNLOAD” operation 300, anaccess client initiates a request 310 through the download server 122for downloading a desired movie (e.g., “Shrek II”). After receiving theexternal name of the content of “Shrek II”, in general, the downloadserver 122 makes use of the services in the access server platforms todetermine whether the request for the content can or should be admittedand if so, how the content should be obtained from the storage servers.In particular, using the external name, the download server 122 callsthe object directory service 128 via a request 312 to discover whetherthe object exists and if so, to locate the corresponding object value inthe object directory. Given the object exists, the object directoryservice returns the object value to the download server via a message314. The object value contains the object's OID, some or all associatedmappings (or partial mappings) that describe a set of storage resourcesholding the content, and other attributes associated with the content.Subsequently, the download server 122 calls on the admission service 126to determine whether or not to admit the download request of thecontent, and if yes, how this download request should be handled.

The admission service 126, in general, is configured to admitcombinations of sessions that are consistent with a workload that can besupported by the resources of the system, and to deny sessions thatthreaten the integrity of existing sessions when the system is nearsaturation. Therefore, prior to granting/denying an upload or downloadrequest, the admission service first checks the usage and availabilityof various system resources. In one embodiment and this example of“DOWNLOAD” operation, resource checks/reservations are conducted by theadmission service, including, for example: 1) checking the bandwidthallocated to existing sessions involving the same content “Shrek II” tomake sure that the prospective new session will not cause the content tobecome oversubscribed; 2) checking the available server resources todetermine which one of possible multiple copies of the content providesthe greatest serviceability (e.g., the service bandwidth that wouldremain available on the most heavily used server of a copy) andreserving the storage servers associated with this copy; and 3) checkingand reserving available unit resources (e.g., disk time or bandwidth) onthe reserved storage servers to be accessed for downloading. Inaddition, there are many other types of resources that need to beallocated or checked, depending on the implementation. For example,access server/platform capacity may be checked and the admission servicemight respond with a message indicating that the access server shouldredirect the client to a different access server.

In determining which of the multiple copies of the content on thestorage servers 132 is to be accessed to satisfy this download request,generally, the admission service selects the copy with the lowestaverage server load, though deviation in load across the set of serversmay also be taken into account. For instance, a copy with a low averageand a high deviation may be less desirable than a copy with a moderatelyhigher average, but low deviation. Moreover, it is desirable to includea certain amount of statistical spread in the choice to ensure thatlightly loaded resources will not get overwhelmed (a condition that canhappen during session failure recoveries). On occasion, if none of thecopies has sufficient resources available at the moment, the session isdenied.

When the admission service 126 decides to admit the download request andselects the copy of content to service the client, it sends a message318 with the mapping of the selected copy to the download server 122,which then requests the storage servers via message 320 to set updownload sessions with the identified blocks on the storage servers.Subsequently, the content of “Shrek II” is delivered from storage to thedownload server and passed on to the access client via data lines 322and 324, respectively. By the time the client receives the entire datacontent of the movie “Shrek II”, the “DOWNLOAD” operation completes.When the “DOWNLOAD” operation terminates or completes, the resourcesreserved for it are released or marked for later garbage collection.

4 Example of Attributes-based Content Provisioning Service

In the exemplary “UPLOAD” operation described above, the contentprovisioning service 140 makes use of provisioning attributes to find abest mapping of arranging the content on the storage servers that cansatisfy the requirements (e.g., performance requirements) of thecontent. One example of a performance requirement is the accessbandwidth, which relates to the maximum number of concurrent sessionspermissible to access the content at any given time. The followingexample illustrates how the content provisioning service may determine abest mapping that supports the access bandwidth requirement, by using aparticular provisioning attribute—maximum concurrent streaming sessions.

Referring to FIG. 4A, for example, a system 400 is designed to host amovie library of about 20K titles, with each copy of the title occupying˜500 MB storage space and a client access rate of 2.5 Mbps. Assume thesystem 400 has 96 1TB disk drives uniformly distributed across fourstorage servers 432, providing a storage capacity of 96 TB. For eachdisk drive, for example, a 100 Mbps access bandwidth amounts to anaccess capacity (i.e., maximum access bandwidth) of 9.6 Gbps for thesystem. (Note that other examples may have different moviecharacteristics and system storage and access capacities. For example,for a title encoded at 2.5 Mbps with an approximate length of 100minutes, each copy occupies ˜2 GB storage space. With mirroring, 20Ktitles would then take up about 80TB of storage space (e.g., 80 1TB diskdrives). Given that each disk has 400 Mbps of access bandwidth, thetotal access bandwidth of the system may be up to ˜32 Gbps.)

To make a good arrangement of resource allocation to each title in thelibrary, a general approach of the system is to distribute content ofhigher demands across a greater number of disks, so that the aggregateaccess bandwidth for the content is sufficient to support all theconcurrent streaming sessions at peak usage.

For example, when the administrative server 421 receives a request 402from an operations client for uploading the movie of “Shrek I” tostorage, it is also informed that, for “Shrek I”, up to 140 concurrentstreaming sessions may occur at any given time, suggesting a peakstreaming rate of 350 Mbps (here, assume the movie is encoded at 2.5Mbps). With each disk drive supporting an access rate of 100 Mbps atmaximum, 350 Mbps bandwidth can not be achieved unless the movie data isstripped across an absolute minimum of 4 disk drives. Thus, one optionfor the content provisioning service to distribute the content is to mapthe data to 4 disk drives, although this may not be a very good optionbecause when this title is in peak usage the other data on the 4 drivescan be rendered inaccessible (an example of inter-title contention).Better options take into account inter-title contention and thusdisperse such data more broadly, say over 6, 12, or even 24 disk drives.In general, there exist a collection of such mappings that each can meetthe 350 Mbps bandwidth requirement of servicing the content.

Here, such a collection of mappings with a common objective (e.g.,bandwidth capacity) is called a schema. As for the sample movie library,each title has a corresponding schema that satisfies the contentrequirements (such as access bandwidth) of that title.

Computing the schema to meet the requirements of each title isnon-trivial and the level of difficulty often grows progressively withsystem size. Therefore, in some examples, in order to reduce the burdenon content provisioning service, a set of schemas are pre-computed, forexample, based on an expected or modeled distribution of attributes, andstored in a database made available for use to the content provisioningservice 424. This pre-computed set of schemas is used to reducecomputational cost and improve overall system efficiency.

Referring to FIG. 4B, by using a pre-computed schema database, thesample system 400 provisions content in the following way. First, uponreceiving an upload request 480, the content provisioning service 424finds from the schema database an acceptable schema that complies withthe requirements of the content, during step 482. Next, among themappings associated with the selected schema, the content provisioningservice determines a best mapping, for example, the mapping with thelowest server occupancy, during step 484. If, in a following step 486,sufficient resource can be found on disk drives specified in the bestmapping, the content provisioning service 424 then allocates a group ofblocks on each disk drive to the content (step 488) before the contentdelivery process starts (step 490). If however, the content provisioningservice 424 fails to locate sufficient resource in the best mappingduring step 486, it select an alternative mapping in the schema torepeat step 486 until an acceptable one is found to proceed the blockallocation.

This general concept of attributes-based content provisioning usingschemas is further illustrated in the example of uploading “Shrek I”,shown in FIG. 4A. As previously discussed, a 350 Mbps access bandwidthis desired in this case. Therefore, in this schema database 470, schemaS3 (shown as table 472) with a bandwidth capacity of 400 Mbps isconsidered an acceptable schema by the content provisioning service 424.This schema S3 further states that, for each content that falls in thiscategory, two copies of the content will be stored on the system, witheach copy distributed over 24 disks and written in region R3 of eachdisk.

Following the selection of S3, a mapping table 474 is populated todescribe a set of possible mappings of the schema to disk drives. Forexample, in this mapping table 474, M21, M22, M23, and M24 correspond tofour orthogonal mappings of S3 to the storage, each mapping using aspecific set of disks (such as disks 1 through 24 in M21) and adesignated disk region (R3). Among all possible mappings associated withschema S3, the content provisioning service seeks a best mapping foreach copy of the content, for example by approximating server occupancyat the given time. In this example, the content provisioning serviceselects mappings M21 and M23 for storing two copies of “Shrek I”,respectively. If these two mappings are found to be permissible, a blockallocator 476 commits allocation of blocks on disk drives according tothese mappings. Once the allocated blocks are available and reserved foroccupancy, the administrative service 421 writes the content data viathe distribution network 460 to the storage servers 432.

5 Examples of Content Provisioning Using Multiple Attributes

In some applications, the content provisioning service makes use ofmultiple attributes to find the best mapping of arranging the content onthe storage servers. Examples of such attributes include attributes thatcharacterize popularity, resilience, and integrity.

Popularity is an expression of anticipated demand for a piece ofcontent. For example, if content is popular, demand for it will likelybe high, and thus the provisioning system will attempt to provision thecontent with the resources necessary to meet the expected demand.

Resilience relates to a predicted level of service maintained to aninformation object in the presence of component failure. For example, inaccessing a resilient object, a customer encountering a failed read ondisk A can continue to be serviced through reading an alternative copyof data on disk B. Generally, the more resilient an object needs to be,the more resources (and possibly the more types of resources) thecontent provisioning system needs to allocate to that object.

Integrity relates to the ability to recover content after a componentfailure, even a catastrophic failure of the system. For example, if adisk fails completely and is unrecoverable, the portions of contentcontained on the disk can be recovered from an alternate copy of thecontent within the system or across systems and/or from an encodedreconstruction method.

Depending on the implementation, the content provisioning service maydetermine the best mapping for storing a piece of content that providesa satisfactory degree of popularity, resilience and/or integrity to thatpiece of content.

Referring to FIG. 5, some schemas that provide different degrees ofpopularity, resilience, and integrity are shown in schema table 500. Forexample, referring to schema 4 (S4), in uploading a relatively lowpopularity title that requires a certain degree of resilience, oneprimary copy is provided to satisfy the popularity demand. In the meantime, two secondary copies of the title are stored to ensure that in thecase of a failed read on the primary copy, customers are still able toaccess this title through the secondary copies without experiencingservice interruption. Schema 5 (S5) provides another scenario ofuploading a relatively low popularity title that is neverthelessimportant such that a high level of integrity is desired. Here, highlevel of integrity can be provided for example, by using advancedredundancy codes (although this can be computational expensive).

In some prior art systems, resilience and integrity are generallyimplicit and bound together within a storage redundancy method (e.g.,RAID 5). In this description, one advantage of decoupling and makingexplicit the way resilience and integrity requirements are handled foreach piece of content, is in allowing a system to support a combinationof each requirement on a title by title basis and to use the mostappropriate methods in satisfying the combination.

6 Other Examples of the Distributed System

Referring again to FIG. 1, in some examples, the access server platforms120 of the distributed system 100 may provide other types of accessservices 127 in addition to the services described above. One example isa content re-provisioning service, which may decide to re-provision(including up and down provision) content in situations such as theoccurrence of usage anomaly and content aging. Another example is amanagement service, which may coordinate the configuration, monitoring,control and data collection in the system. The management service maytrack both normal and exceptional events to diagnose system problems andanomalies and when necessary, trigger other services (such asre-provisioning services) in the system to perform subsequent actions.

Each service provided by the system may be implemented in variousmanners. In some examples, services may be bound to a particularplatform (e.g., servers). Although such services are not individuallyresilient to occurrence of component failures, system resilience can beachieved by virtue of service replication and session levelreassignment. In some examples, services may be distributed in multipleinstances across a set of platforms. Distribution may be accomplished bypartitioning the problem space (e.g., by process-pipelining, or byobject-symmetric concurrency, etc.) to a degree necessary to achieve theperformance and resilience requirement of the service. In some otherexamples, services can migrate from one platform to another. Inparticular, if a service is not implemented in a distributed manner,migration allows services to be relocated to other platforms in thesystem in case of service failure or degradation on one platform.

In some implementations, a storage server platform can be a wellconfigured off-the-shelf computing system equipped with storagecontroller and network controller cards, configured to provide e.g., 10GbE line-rate access to a set of storage resources (e.g., disks,memory). Controller cards can either be developed internally orqualified from readily available third party sources. In some examples,storage controllers provide unfettered high bandwidth access to theunderlying storage devices. Examples of storage devices include diskdrives, solid-state memories (such as RAM), and non-volatile memories(such as flash).

In some implementations, an access server platform can be a wellconfigured off-the-shelf computing system equipped with networkcontroller cards, configured to support a set of access regimes tocontent stored in the system. Access regimes are provided by accessservers that may adopt a multitude of protocols and vary widely inperformance and efficiency. One example of an access server is aMicrosoft Windows Media Server (WMS), commonly used for streaming mediaon the Internet. Another example is an HTTP server, which uses HTTPprotocol to provide clients access to content on the system. A thirdexample is an Adobe's Flash Media Server.

Note that administrative servers and download servers are just two ofpotentially many types of access servers. Access servers are the generalclass of services that provide external access to objects in the systemaccording to prescribed sets of rules.

Although the access servers (and services) and storage servers (andservices) have been described as residing respectively on access andstorage platforms, in some embodiments, a combination or all of accessand storage servers and services can be configured to reside on a commonplatform.

In some embodiments, operations network 140 is isolated from thedelivery network 150. The administrative server 121 and download server122 may be exclusively accessible to the operations clients 112 andaccess clients 114, respectively. The download server 122 may providefeatures or semantics that are not suitable for operations clients, andvice versa.

Referring again to FIG. 1, some or all of the links between componentsdescribed in this description can use protocols that are described inU.S. patent application Ser. No. ______, (Attorney Docket No.30030-009001), titled “Network Storage,” filed concurrently with thepresent application, the contents of which are incorporated herein byreference in its entirety.

It is to be understood that the foregoing description is intended toillustrate and not to limit the scope of the invention, which is definedby the scope of the appended claims. Other embodiments are within thescope of the following claims.

1-22. (canceled)
 23. A method comprising: receiving, by a server, arequest to upload data, where the request includes informationidentifying one or more values of one or more attributes associated withproviding access to the data; identifying, by the server, a set ofschemas, of a plurality of sets of schemas, based on the one or moreattributes; identifying, by the server, a schema of the identified setof schemas, based on the one or more values; where each schema, of theset of schemas, is associated with at least one of the one or morevalues and includes a collection of mappings that includes informationidentifying an arrangement for storing data on one or more storageresources based on the at least one of the one or more values; andstoring, by the server, the data on the storage resource based on one ormore mappings of the collection of mappings.
 24. The method of claim 23,further comprising: determining, based on the schema, a quantity ofcopies of the data to be stored on the storage resource; identifying aparticular mapping, of the collection of mappings, for storing each copyof the quantity of copies; and where storing the data includes: storingeach copy of the quantity of copies based on the particular mapping. 25.The method of claim 23, where storing the data includes: selecting afirst mapping, of the one or more mappings, based on the one or morevalues, where the first mapping includes a first arrangement for storingthe data on the storage resource, determining whether a resource, of thestorage resource, associated with the first arrangement are availablefor storing the data, selecting a second mapping, of the one or moremappings, when the resource is not available for storing the data, wherethe second mapping includes a second arrangement for storing the data onthe storage resource, the second arrangement being different from thefirst arrangement, and storing the data on the storage resource based onthe second arrangement.
 26. The method of claim 23, where the request toupload data includes an identifier associated with the data, the methodfurther comprising: creating an object associated with the identifierbased on receiving the request to upload data; storing, in a memoryassociated with the server, at least one of: information associated withthe one or more or more values, or information associated with the oneor more mappings; and associating the object with the storedinformation.
 27. The method of claim 26, further comprising: receiving arequest to access the data, where the request includes the identifier;identifying the object based on the identifier included in the requestto access the data; identifying the stored information based onidentifying the object; and determining whether to grant the request toaccess the data based on the stored information.
 28. The method of claim27, where determining whether to grant the request to access the dataincludes: determining, based on the stored information, an availabilityof resources associated with the one or more mappings; and granting therequest to access the data when the resources associated with the one ormore mappings are available.
 29. The method of claim 27, wheredetermining whether to grant the request to access the data includes:determining, based on the stored information, a maximum quantity ofconcurrent streaming sessions associated with the data; and granting therequest to access the data when a current quantity of concurrentstreaming sessions associated with the data is less than the maximumquantity of concurrent streaming sessions.
 30. A non-transitorycomputer-readable medium comprising instructions, the instructionsincluding: one or more instructions which, when executed by one or moreprocessors, cause the one or more processors to receive a request toupload data, where the request includes information identifying one ormore values of one or more attributes associated with providing accessto the data; one or more instructions which, when executed by the one ormore processors, cause the one or more processors to identify a set ofresource arrangements for storing the data on one or more storagedevices, based on the one or more attributes, where each resourcearrangement, of the set of resource arrangements, is associated with atleast one of the one or more attributes and includes informationidentifying a plurality of mappings for storing data on the one or morestorage devices; one or more instructions which, when executed by theone or more processors, cause the one or more processors to select afirst resource arrangement, of the set of resource arrangements, basedon the one or more values; and one or more instructions which, whenexecuted by the one or more processors, cause the one or more processorsto store the data on the one or more storage resources based on thefirst resource arrangement.
 31. The computer-readable medium of claim30, where the instructions further include: one or more instructions todetermine, prior to receiving the request to upload the data, aplurality of sets of resource arrangements, where the plurality of setsof resource arrangements includes the set of resource arrangements, andwhere each set of resource arrangements, of the plurality of sets ofresource arrangements, is associated with at least one of a plurality ofattributes associated with providing access to data, the plurality ofattributes including the one or more attributes.
 32. Thecomputer-readable medium of claim 30, where the instructions furtherinclude: one or more instructions to determine, based on the set ofresource arrangements, a quantity of copies of the data to be stored onthe one or more storage resources; one or more instructions to identifya particular mapping, of the plurality of mappings, for storing eachcopy of the data; and where the one or more instructions to store thedata includes: one or more instructions to store each copy of the databased on the particular mapping identified for storing the copy of thedata.
 33. The computer-readable medium of claim 30, where the one ormore instructions to select the first resource arrangement include: oneor more instructions to select a first mapping, of the plurality ofmappings, based on the one or more values, where the first mapping isassociated with a first resource, of the one or more storage resources,one or more instructions to determine whether the first resource isavailable for storing the data, and one or more instructions to select asecond mapping, of the plurality of mappings, when the first resource isnot available, where the second mapping is not associated with the firstresource, the second mapping being different from the first mapping. 34.The computer-readable medium of claim 30, where the request to uploaddata includes information identifying a name associated with the data,and where the instructions further include: one or more instructions tocreate an object associated with the name based on receiving the requestto upload data; one or more instructions to store at least one of:information associated with the one or more or more values, orinformation associated with the one or more mappings; and one or moreinstructions to associate the object with the stored information. 35.The computer-readable medium of claim 34, where the instructions furtherinclude: one or more instructions to receive a request to access thedata, where the request includes information identifying the name; oneor more instructions to identify the object based on the name; one ormore instructions to identify the stored information based on theobject; and one or more instructions to determine whether to grant therequest to access the data based on the stored information.
 36. Thecomputer-readable medium of claim 35, where the one or more instructionsto determine whether to grant the request to access the data include:one or more instructions to determine, based on the stored information,a maximum quantity of concurrent streaming sessions associated with thedata; and one or more instructions to grant the request to access thedata when a current quantity of concurrent streaming sessions associatedwith the data is less than the maximum quantity of concurrent streamingsessions.
 37. A system comprising: one or more devices to: receive arequest to upload data, where the request includes informationidentifying one or more values of one or more attributes associated withproviding access to the data, identify a set of resource arrangementsfor storing the data on one or more storage devices, based on the one ormore attributes, where each resource arrangement, of the set of resourcearrangements, is associated with at least one of the one or moreattributes and includes information identifying a plurality of mappingsfor storing data on the one or more storage devices, select a firstresource arrangement, of the set of resource arrangements, based on theone or more values, and store the data on the one or more storageresources based on the first resource arrangement.
 38. The system ofclaim 37, where the one or more devices are further to: determine, priorto receiving the request to upload the data, a plurality of sets ofresource arrangements, where the plurality of sets of resourcearrangements includes the set of resource arrangements, and where eachset of resource arrangements, of the plurality of sets of resourcearrangements, is associated with at least one of a plurality ofattributes associated with providing access to data, the plurality ofattributes including the one or more attributes.
 39. The system of claim37, where the one or more devices are further to: determine, based onthe set of resource arrangements, a quantity of copies of the data to bestored on the one or more storage resources, identify a particularmapping, of the plurality of mappings, for storing each copy of thedata, and where, when storing the data, the one or more devices are to:store each copy of the data based on the particular mapping identifiedfor storing the copy of the data.
 40. The system of claim 37, where,when selecting the first resource arrangement, the one or more devicesare to: select a first mapping, of the plurality of mappings, based onthe one or more values, where the first mapping is associated with atleast a first resource, of the one or more storage resources, determinewhether at least the first resource is available for storing the data,and select a second mapping, of the plurality of mappings, when the atleast the first resource is not available, where the second mapping isnot associated with the at least the first resource, the second mappingbeing different from the first mapping.
 41. The system of claim 37,where the request to upload data includes information identifying a nameassociated with the data, where the one or more devices are further to:create an object associated with the name based on receiving the requestto upload data, store at least one of: information associated with theone or more or more values, or information associated with the one ormore mappings, associate the object with the stored information, receivea request to access the data, where the request includes informationidentifying the name, identify the object based on the name, identifythe stored information based on the object, and determine whether togrant the request to access the data based on the stored information.42. The system of claim 41, where, when determining whether to grant therequest to access the data, the one or more devices are to: determine,based on the stored information, a maximum quantity of concurrentstreaming sessions associated with the data, and grant the request toaccess the data when a current quantity of concurrent streaming sessionsassociated with the data is less than the maximum quantity of concurrentstreaming sessions.